package codebase;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import modele.Puissance;

public interface IJoueur extends Remote {

	public double getId() throws RemoteException;

	public String getNom() throws RemoteException;

	public void setNom(String n) throws RemoteException;

	public void receiveMessage(String msg, String tabName, ArrayList<String> listeJoueursChat)
			throws RemoteException;

	public void addPuissance(Puissance p) throws RemoteException;

	public void clearPuissance() throws RemoteException;

	public boolean isServeur() throws RemoteException;

	public ArrayList<Puissance> getListPuissance() throws RemoteException;

	public void setListPuissance(ArrayList<Puissance> p) throws RemoteException;

	public int getScore() throws RemoteException;

}
